<?php
/**
 * Created by PhpStorm.
 * User: superxing-cto
 * Date: 17/1/12
 * Time: 17:59
 */

namespace App\Http\Controllers\Api;

//use App\Http\Controllers\Controller;

use App\Models\VideoCountControl;
use DB;



use App\Models\Vip;

use App\Models\Post;
use App\Models\User;
use Illuminate\Http\Request;




class GeneralModulesController extends BaseController
{



    /**
     * 首页模块列表接口
     * @return \Illuminate\Http\JsonResponse
     */


    public function index()
    {

        //$vips = Vip::get();

//        $newvip = new Vip();
//        $newvip->title = 'ddd';
//        $newvip->day_num = 77;
//        $newvip->price = 0.02;
//        $newvip->cover = 'cover';
//        $newvip->sort = 0;
//        $newvip->save();


//        foreach($vips as $k=>$vip)
//        {
//           $title = $vip->title;
//            $day_num = $vip->day_num;
//            $price = $vip->price;
//            $cover = $vip->cover;
//            if($k==0)
//            {
//
//            }
//
//
//        }




        // Log::info('Showing user profile for user: ');




    }




}
